/*
 * Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
 * This software is released under MIT license.
 * The full license information can be found in LICENSE in the root directory of this project.
 */
html {
  font-size: calc((var(--cds-global-base) / 16) * 100%);
  box-sizing: border-box !important;
}

*,
*:before,
*:after {
  box-sizing: inherit !important;
}

[cds-base-font="16"] {
  --cds-global-base: 16;
}

[cds-theme] {
  background: var(--cds-alias-object-app-background);
  color: var(--cds-global-typography-color-500);
}

[cds-control] ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari/Chromium Edge */
  color: var(--cds-global-typography-color-200);
}

[cds-control] ::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--cds-global-typography-color-200);
}

[cds-control][_disabled] {
  --cds-global-typography-color-200: var(--cds-alias-status-disabled);
}

html[cds-focus-trap] {
  overflow: hidden !important;
  width: 100vw;
  height: 100vh;
}